tests for both the matchers.