Adding functional tests for Filters.

Issue #937