OZP-10: fix tests failing in firefox because of leak