added test script
added sample script