Deprecate in favour of dmtest