added duration and alpha value property to animate function
updated animation test