Extended tests to cover exception return/throw distinction