Fixed problem with exception verification on the jUnit Tests.