Fix compilation error in test

Holding off on merging release-23 changes to develop