Tests given svg type element