issue #2768:Modify armature test sample and skip some functions to lua