add test for nested matchers