Introduces base class for all tests.
Adds method to reset database for functional tests.
Removes database reset in test init (test should make ensure themself that their database is in their required state.)