Test cases cleanup.