Bug 1079748 - Implement hierarchy manager

shouldn't it be `calledWith('registerHierarchy, taskManager')` ?