Fix test namespace
Move hook_entity_*() into PathautoItem to be able to prevent PathItem::insert() from running.
Remove direct calls to pathauto_entity_update()