Add database skeleton and corresponding test cases.