add create database tables, demo test cases