Test: More lenient `get_version` test

On non-release branches, the `major` element of a version triple can be -1 (or
the corresponding underflow value).

This commit permits this value in the related test-case.
Merge pull request #316 from Incubaid/permissive-test_get_version

Test: More lenient `get_version` test