Replace DatabaseTestCase with a trait to be used with any test case.