@Test
    public void checkHeader() {

        String samplefile = "sample/primitive/cube.mqo";
        MQOData data;

        try {
            data = readData(samplefile);
        } catch (StateTransferException e) {
            e.printStackTrace();
            //Assert.assertTrue(false);
            return;
        } catch (IOException e) {
            e.printStackTrace();
            Assert.assertTrue(false);
            return;
        }

        if (null != data) {
            MQOHeader hdr = data.getHeader();
            if (null != hdr) {
                if (hdr.getFormat().equals("Text") && hdr.getVersion() == 1.0) {
                    Assert.assertTrue(true);
                }
                else {
                    Assert.assertTrue(false);
                }
            }
            else {
                Assert.assertTrue(false);
            }
        }
        else {
            Assert.assertTrue(false);
        }
    }