s/tree/list/ and move to using minitest