Adding functional tests for Filters.

Issue #937 
long line