test: fix TCP header initialization