added cmd_filter_test
refactored:
added FilterCons, FilteredSource, FilteredSink