fix unit test for Account