add unit test of dbBackend