add ut test for db connection