issue #2433:Add more deprecated function and modify some test