unit test for uniq function
removed dependency on List::MoreUtils