Refactor of tests for filter processor method in TwitterProcessor