Fix tests in Chrome