Add tests for User methods