Upgradation to Rails 4 phase-I,writing unit tests for user model