Added an animation test for dynamic lines, see #316