Fix tests when mocking without restoring prototype getClientConfiguration method