Fix animate tests

This fixes broken tests in animate.