[PATCH 3/8] windowscodecs/tests: Use a helper instead of a macro.