converted tests to use rspec. removed redundant validations on user model