add account unittests to improve coverage