#13 James -- cleaning up the test and adding script to open db file