DDF-463 added basic unit tests for filter code