dist and test dist