added test for hierarchy window