implemented unit test for account value