base class for database integration tests