Added test for creation of database if not extant