Refactor/rspec

First step of the Rspec refactoring for #1737 
All tests were either duplicate ( already present in the actual spec file ) or i've merged them together in the spec file of the filter it self.