fix for tests (Opera < 12)