test: Fix a test that fails when cross compiling

Hopefully unblocks a snapshot