Convert test in OsmoseErrorFile to unittest