Fixed bug in HasUpdate.
Was incorrectly checking version against itself.
Fixed bug in test. Was not setting the version properly and thus was failing based on the random number generator.
Merge pull request #570 from RichardLake/HasUpdateFix

Fixed bug in HasUpdate.