minor changes and fixed bugs in the tests.html