Fixing unit tests to make them wait on async requests and initializing a new GoogleApis instance for each case.