fix the user unit test so that it doesn't use a depricated method in rails 2.2.2