Add tests for user