Add tests for User controller