Fixed bug in StructuredLabels - using set_element() instead of insert_element().  Added unit test.
Freeing memory in StructuredLabels unit test.
Merge pull request #1568 from tklein23/struct_labels_bug

Fixed bug in StructuredLabels