added test script to index page