Test dm repository