To reduce chance of confusion between array index and value at that index, in test_datas change value at index 6 from 6 to 12.
Add test_parent_index() and parent_index().