Update test/unit/user_test.rb

Added user test