Replaced asserts with should matchers