Add spec.
When output no animation svg, output normal svg.
Add spec.
When has skip frame and no animation, no output animation parameter.
Refactoring for rubocop.