BUG: SyncRecord: Fix whitespace detection in header.
ENH: SyncRecord: Add remaining test from Andrei.