added ExpectationError