Fixes to the SL test script