Extracts padding and updates test headers