Added test framework for User class