fixing test difference between Chrome/Firefox(Travis CI)