added tests for TreeSet and String[]