@Test
public void testFromMessage() {

	Message m = new Message(m1.toString());
	MultiArrayLayout p = MultiArrayLayout.fromMessage(m);
	assertEquals(m1.toString(), p.toString());
	assertEquals(m1.toJsonObject(), p.toJsonObject());
	assertEquals(m1.getMessageType(), p.getMessageType());
	assertEquals(m1.size(), p.size());
	assertTrue(Arrays.deepEquals(m1.getDim(), p.getDim()));
	assertEquals(m1.getDataOffset(), p.getDataOffset());
	assertNotSame(m1, p);
	assertNotSame(m1.toString(), p.toString());
	assertNotSame(m1.toJsonObject(), p.toJsonObject());
}