Add unit test for issue 11938
Add unit test for issue 11938

skidzo/sympy,yashsharan/sympy,skidzo/sympy,kaushik94/sympy,madan96/sympy,skidzo/sympy,chaffra/sympy,kaushik94/sympy,jaimahajan1997/sympy,madan96/sympy,chaffra/sympy,jaimahajan1997/sympy,madan96/sympy,yashsharan/sympy,jaimahajan1997/sympy,chaffra/sympy,yashsharan/sympy,kaushik94/sympy