Adding tests for user controller.