svgjs: fixed test errors, other tweaks