Cleaned destructor ofxAnimation and created test.