More tests and fixes on DetailedVersion and Versions