Fixed bug in expect where defined NOT to throw fails when not throwing