avoid duration=0 animations crash the app, added test for it
fix: #1547
Merge pull request #1682 from kivy/fix_1547

avoid duration=0 animations crash the app, added test for it