Revert "Removed obsolete test for sync mode"

This reverts commit 5e51c1ba1303e8b06d7eb76914e87569895de750.