Merge pull request #10789 from Pokechu22/hermes-test-warnings UnitTests: Fix warnings from HermesText