Test try/finally