fix transition tests for Firefox