explicitly test return value of try { }