Are there any examples of modules such that $M\oplus N_1\simeq M\oplus N_2$, but $N_1\not\simeq N_2$ as modules?
I thought of taking $\bigoplus_{i\geq 0}\mathbb{Z}\oplus\mathbb{Z}\simeq\bigoplus_{i\geq 0}\mathbb{Z}\oplus\{0\}$ as $\mathbb{Z}$-modules, but $\mathbb{Z}\not\simeq\{0\}$. Is this correct? Even if it is, I felt it's kind of a cheap example, and was hoping to see something more interesting.