Clean up tests. Hook up dpkg version comparison to DpkgVersionType.