test finally block