tcp: add test case for Cork and Uncork