fixes wrong placement of expect in header integration test
Merge pull request #1583 from velesin/header_test_fix

fixes wrong placement of expect in header integration test