testing server hooks