'Test that a new style class can be jellied and unjellied with its
objects and attribute values preserved.'

def test_newStyle(self):

    n = D()
    n.x = 1
    n2 = D()
    n.n2 = n2
    n.n3 = n2
    c = jelly.jelly(n)
    m = jelly.unjelly(c)
    self.assertIsInstance(m, D)
    self.assertIs(m.n2, m.n3)
    self.assertEqual(m.x, 1)
