assertions refactored to use matchers