check for dmapi module before running dmapi tests