Fixing error messages for tests to pass in Mono.