Added test/index.html, with hacks allowing tests to run correctly in it.