Tests: add has_version() method and use it as appropriate.
6 files changed