Proper use of expect
Correct use of expect with spies
Merge pull request #904 from tschaub/test-correction

Correctly make assertions with expect.