getting DB instance in import test