Fixed test after hook array restructure