move test to index.html