Fix broken start-scanning test script