Fix Version.compatibility; improve test script