add odb test, try/finally for cleanup