Added a variety of helpful string functions, plus the beginnings of some tests