Added unit tests to some GTPEngine utility functions. String to int functions now pass all tests