test hook receive