created the db schema and added a couple of tests