Increase test coverage of test_versions.py

This commit adds a couple unit tests to test_versions.py so that it's
test coverage is 100%.

Change-Id: If653c353953c09f6f3d5644b04e37dec5aebf196
Merge "Increase test coverage of test_versions.py"