Check that object-state matchers work

Test examples for object state matchers