added tests for validators - webapp/tests/validator_tests.coffee