fixed tests, and index html