added more tests. found superfluous method in user.rb and commented out.