Test version queries with undeleted objects