added tests for validators