tested validations using factorygirl