Implemented Account repo with tests