Change test to run properly in Safari.