cpp: fix pod tests for file info factory