Fixes non critical bug in test script