Consider a sphere $S^2$ with a circle attached to it by a point. I want to calculate its fundamental group. I will use the following different version of Van Kampen theorem
If $X$ is path connected and $X=X_1 \cup X_2$ with $X_1$ path connected and $X_2$ simply connected and both open and such that $X_1 \cap X_2= X_0= A\cup B$ where $A,B$ are disjoint and both open and simply connected. Then $\pi_1(X)= \pi(X_1)* \mathbb{Z}$
Then what I can do is cut a line from the handle to obtain $X_1$ and take a longer line as $X_2.$
In this way the intersection is given by two lines which are both simply connected.
Moreover the fundamental group of $X_1$ is trivial because if I cut a line from the handle then I can rectract the handle to a point on the sphere which is contractible.
Thus the $\pi_1$ of the sphere with a handle must be $\mathbb{Z}.$
Does it work?