Add tests for jquery form validations