Make testEnvironment tests pass in Google Apps Script