use testDirectory in DBTypeSpec