Currently, this call is still using a variety of now-deprecated APIs. Fix it to use the non-deprecated fields. `TestTaskQueueStats` should then have the lines referencing this issue uncommented