Removed deletion of database in test mode
Can now handle a given number of objects to test in test mode