Rewrote doctest for parsing version to python code.
Rewrote doctest for parsing download hash to python code.