Add 'Traversal composition' test