add testDisableWarning to Header core code
Merge pull request #319 from adamgsoc2013/unittest_navigation

add testDisableWarning to Header core code