tests: Mark some file-internal symbols as static.