sort test mock data to make tests pass in python3 (close  #9)