t5: added tests to form validation
fix merge conficts
t5:fix tests