[testFaceRest] Add a missing "static" key word to an utility function