test_flow: Fixed subprocess.Popen() call