add test case of create db