 
         history.insertOrUpdatePlace(site.asPlace(), modified: 1234567890).value
         for j in 0...20 {
-            let visitTime = Timestamp(1000 * (1437088398461 + (1000 * i) + j))
+            let visitTime = advanceMicrosecondTimestamp(1437088398461000, by: ((1000000 * i) + (1000 * j)))
             addVisitForSite(site, intoHistory: history, from: .Local, atTime: visitTime)
             addVisitForSite(site, intoHistory: history, from: .Remote, atTime: visitTime)
         }

        let site = Site(url: "http://s\(5)ite\(5)/foo", title: "A \(5)")
        site.guid = "abc\(5)def"
        for i in 0...20 {
            addVisitForSite(site, intoHistory: history, from: .Local, atTime: Timestamp(1438088398461 + (1000 * i)))
        }

        let expectation = self.expectationWithDescription("First.")

            let site = Site(url: "http://s\(0)ite\(0)/foo", title: "A \(0)")
            site.guid = "abc\(0)def"
            for i in 0...20 {
                addVisitForSite(site, intoHistory: history, from: .Local, atTime: advanceTimestamp(1439088398461, by: 1000 * i))
            }
            return succeed()
        }
