Automatic hook enabled test