fixed #2219 Add AutoTest for Sprite tests