add test perl script from original repo
Merge pull request #3 from shivaas/patch

add test perl script from original repo