Added database initialization in pre-test set of tasks.