Add destroy method and expose svg attribute
Add destroy test case and checking value while animation is playing