Code for testing the filters now works