Fixed header copying when using XCTest