Make tests pass in browser again