Better debugging for sync.
Merge branch 'test' into dev