add some test for helper.getUniqueArray