added tests for $validator.convertRule()