Fixed the newrt logger to truncate output strings, modified a few test cases to work with both runtimes