test for $form passed