Adds tests for header sending