Unit testing for #9.
Fix for clearTimeout bugging chained and looped animations. Closes #9