Add resetDatabase method

resetDatabase() will delete all instances in the database.
This would make LogicTest easier