Add tests for adding ats functionality to filter
Move filter.context to a more appropriate place in the code
Add filter.ats -functionality

Now passing all tests