test to fix db lock