Fix tests that were broken after the uuid to mongo-like id change.