SERVER-13635: make some tests more generic for some engines