CMultilabelSOLabels class modified along with unit tests to remove memory leaks