Fix a test to pass in the browser