TST: cluster: cleanup the hierarchy test data

Move the test data into `hierarchy_test_data.py`.
Some duplicated and useless tests are removed.