Minor error reporting test fix for Windows