User class test coverage