add testing of sort.nub