Fixed `testCustomHeader`.
Removed `testEmptyDiff()` and `testEmptyDiff_toArray()` as d2f4198 removed the code these tests covered.