Unregister the filter after each test.