Test form with conditions