support attributes

tests added to virtual-dom