Add and test a custom filter