fix crash when receiving malformed uri
version/changes
move filter tests to own spec file
refactor before/after -> filters
mucho testing for filters