Tests and fixes for y_hooks and y_users.