[msan] Fix unused function warning in the tests.