Added tests for FilterCriteria.
FilterCriteria model created.
Extracted criteria matching into seperate method.