added missing fail() assertions to make test fail when exception get accidently droped.  fixes #364.