Implemented exception trows in the proper way according the UIMA docs. Fixed the fail case tests