util: fix test for text_version