tests: Fix build after 8920c5f2
MFC after: 2 weeks
(cherry picked from commit 76f28f656eb5db81b49d6d89e1d43815aeda3128)