fix firefox test
Merge pull request #301 from matiu/bug/firefox

fix firefox test