test for deferred sync
fix imports