Implement svg_inline with tests