Removed duplicate setAttributes methods in favor of shared TextManipulator::arrayToTagAttributes(). Updated tests to reflect changes. Fixes #9