Make test runnable in a browser