Updating user controller and user model test cases.