fixed test script: unexpected token in echo