fixed tests and return of me object from api