Fixed unit tests

Stop committing just before bed! Now we check for the IsLatestVersion
boolean it has to be set in the unit tests.