Added validations and Factory_Girl tests.