Fixed broken tests
Changed header printing flag

from h to p