Fixed some linker errors

There were some missing function definitions and some incorrect conversions
from utfstring functions to std::string functions. These have been implemented
and fixed
Added a script to run the test case executable