It would be good to have mock Backend and AnimatedBackend classes to use in tests. At the moment we use BackendSVG for all the tests, which requires manual intervention to look at the output and check that it looks good.
Could use a mocking framework: