A test framework for verifying concurrency anomalies

All of this just gets deleted as it's "inherited" from BaseDB.