remove obsolete test with sql statements, now that UpdateObjectVersions is used