Update functions in object fetcher for tesla and set up a proper mock for tests