Added dispose method
Oops, now code should pass dispose tests
Removed throwing error in favor of a more friendly console.warn message
Added better tests for the animation transition logic