Test for form factories