testing pre hook