add a db  test, not finish yet