add some unit test for db interface

add some unit test for db interface.
please run:
make test.

look at TEST 8/8 db_test:remove.

I invoke the remove.
after that,I invoke db_exists and db_get. I also can get the value.
Is there any defect?
delete the binaray

delete the test binaray