Converted run_tests.sh to python script (#168)

This PR addresses Issue #168