Added more testing to StringToLong, and created a common XCTestCase util category.