bugs: Add 047, testing typeid lookup of type refs.