Fix translate inheritance tree for tests