Fixed a parsing error that cased the <sms> tag to not parse properly, added a couple of tests to verify