Added test for "Exception occurs or the expected" and coberage full.