added account unit and acceptance tests