Clean up run_tests script a bit
Added setKeepAlive