[firefox] fixed bug in test script