improve error message in asserts of mocks