remove the expectation spy