Avoid sparatic fails with Firefox 26 and amd tests.