Add a test case for the finailizeChannel() method.