Fix parallel form handling in testing