svg: change attr getters visibility and types
svg: simple attr tests