HeadTailTest reportedly fails on Mac OS-X and Linux. A correct solution is probably to address PR 18476. Acknowledging this issue while working on a fix.