get_children() returns fresh userdata wrappers on each call; without
an __eq metamethod, Lua pointer equality fails between two wrappers of
the same engine entity. Use composition.reg_id (a stable property on
all composition entities) for same_entity() comparisons in assertions
2b, 3b, 9, 10, 11b.