add Account actor tests, and refactor other tests