added test for printdist