fixed test scripts