Added some tests for users controller.