Improved marker test.
Added exists property.
Updated locator test in line with changed response from PyPI.
Updated legacy pre-release handling to be the same as that of setuptools.