fixes HeaderController test
Merge pull request #1750 from velesin/header_controller_test_fix

fixes HeaderController test