Added more tests for versiondetection