Provide a default key for all elements, add a test for tree rendering.