maybe a test for the sync version too