Test animation that changes 'display' attribute