    @Test
    public void tagWithEscapedSpace() throws SchemaNotFoundException, MalformedRecordException, IOException {


        String data = "weather,location=us\\ midwest temperature=82 1465839830100400200";

        RecordReader recordReader = readerFactory.createRecordReader(variables, toInputData(data), -1,logger);

        Record record = recordReader.nextRecord();
        Map tags = (Map) record.getValue(InfluxLineProtocolRecordReader.TAG_SET);

        Assert.assertEquals(1, tags.size());
        Assert.assertEquals("us midwest", tags.get("location"));
    }