Fix proposed for issue #1, expect() function fixed
Merge pull request #2 from inaes-tic/iss1

Fixes #1