Fixed the existing test and added a new one for git tag version guessing.