Test code for animation test