Tests that blocking form actions works correctly.