Test improvements. Modified radix sort to work with lists.