def METHOD_NAME(server, freshLog):
    user = User().createUser('admin', 'password', 'first', 'last', 'a@a.com')
    records = Record().find(sort=[('when', 1)])
    assert records.count() == 3
    assert records[0]['details']['collection'] == 'user'
    assert records[0]['details']['id'] == user['_id']
    assert records[1]['details']['collection'] == 'folder'
    assert records[2]['details']['collection'] == 'folder'