createcb ver 2

Modified the code to create the test database.