added more test to the user_test.rb file