Rename unregisterFilter to deregisterFilter

fixes #2167
- Rename functions
- Adjust tests