make tests work in firefox