TST: use numpy.testing in test_hierarchy.py
Merge pull request #4326 from argriffing/update-hierarchy-tests

TST: use numpy.testing in test_hierarchy.py