Test cases for try-else and try-finally