A test framework for verifying concurrency anomalies

This code all went to storage.BaseDB