fixed test_script