Add unit tests for api_version detection

This commit adds unit tests for api version detection in
verify_tempest_config.

Partially implements bp: config-verification

Change-Id: I72d02db5e4a2dd83abe0e2eb4e4fed8b97c34e4c
Merge "Add unit tests for api_version detection"