Add logs for test hook