Fix issue #5 - tests were reporting success if an exception was being thrown