Add the test for db init