Make test actually run on windows and not fail because of regexes