Added unit tests for recent additional function to ExceptionUtils for handling exceptions.