include extensions.hpp in more files that put hierarchies in ext namespace
fix some hierarchy tests