Make tests work in the browser again.