Fix failing test in Chrome