Ensures the tearDown() method is called even if an exception occurs during the test

add a finally block.