fix tests for FireFox