Fix up tests to run again from the browser