Multiple -sg and -sn Commandline Parameters - Step 1

This is the first pull request in a series to implement issue #401.

Prepare TestFilter for linked list