making tests compatible with firefox