fix broken test script