100% coverage for list and scripting commands

I noticed that coverage for *list* and *scripting* commands had been dropped. Here tiny fixes to bring back coverage 100%. 
Please review.