def METHOD_NAME(self):
    template = CouchDBMDTemplate({'hello': 'world', 'foo': 123})
    doc = template.doc(Tile((0, 0, 1)), tile_grid(4326))
    assert doc['timestamp'] == pytest.approx(time.time(), 0.1)
    assert doc['hello'] == 'world'
    assert doc['foo'] == 123