fix expected exception assertion
Merge pull request #45 from piotrrepetowski/master

fix expected exception assertion