run the test script properly