Adapts test of header output