fix the toThrowWith matcher

Sorry @vsavkin my previous PR was crappy :(

Those changes have been tested !

I guess you should do a bug fix release (1.5.1)