some debugging for test script