Revert "Fix testheader scripts."

This reverts commit e12a23e87d1a75261f01c5a0353b6cf3af3a296e.