Add test for sending headers after EOF