add distmetrics test script