adding exception checks to the call unit tests