Refactored how the test operators are parsed and made the filter operator to be handled like most other operators