a test that runs in a webbrowser that uses require