SERVER-13635: fix list race in kv database catalog
SERVER-13635: make some test storage engine agnostic