tests running properly in the browser