use sync queue during testing