added missing db initialization line in resetDB also added test line to see if the db is working