Fixing error messages for tests to pass in Mono.
Fixing line lengths.