Fixed a minor bug in the getVersion test