few fixes in list commands and tests