Add a unit test for zero duration animations