Sync tests (3 tests are currently failing)
Fixed `testCustomHeader`.
Removed `testEmptyDiff()` and `testEmptyDiff_toArray()` as d2f4198 removed the code these tests covered.
Fix @covers annotation