adding automated test script

Just update the paths inside to run it.