issue #2433:Add lua deprecated fiel  and modify some test samples