Fixes to parsing tests to remove trailing space
Fixes for module param counting and additional shell quoting issues