Move form validation test macros into separate module
Move form validation test macros into separate module