fixed tests/test_scripts.py