better tests, and readme for container hierarchies