Add scheduler sync test