Initial work towards string class & some tests. Fixed a bug with leak detection where condition was broken