Fix test for old browsers