fix errors in script_test; temporarily skip test_perf_monitor because of run length (> 40 sec)