update tests for latest version of collection hooks