Added tests of animation modules. Fixed bug in Animator