Fix glitch in test script