tests for DelayedExpectation class methods