Feature/sms app tests

A few methods existed in the main app, but not the sms app so moved those methods into the base app.
Added tests for the sms app.