further development on test script