Fix unit test for addresses controller.