debugging for test script