adjusted test_version to cope with a/b/RC