Fix script starting tests