repr to hug and madrichim to sort_test