fixed failing tests - headpin
Merge pull request #561 from tkolhar/master

Fixed the headpin nightly failures