Added param shell=True to subprocess.Popen()
Small bugfixes in drive test