added testing script
updated test script