Added a test, which doesn't work at the moment
Added an additional test, fixed a few bugs in the animation cycle