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