[todo] check head contains
[test] svg inserts