Add more tests for accounts controller.