added preferredLanguage to API validation to make tests pass again