Created some useful generic testing utilties for the filters.