added tests for validations via factorygirl