Made two test functions for the filter.