added test for issue 6157
added test for issue 6157

pandeyadarsh/sympy,yukoba/sympy,Arafatk/sympy,MechCoder/sympy,sahilshekhawat/sympy,toolforger/sympy,pbrady/sympy,madan96/sympy,jaimahajan1997/sympy,kaichogami/sympy,madan96/sympy,toolforger/sympy,mafiya69/sympy,wyom/sympy,wanglongqi/sympy,wyom/sympy,yashsharan/sympy,vipulroxx/sympy,asm666/sympy,diofant/diofant,ga7g08/sympy,Gadal/sympy,rahuldan/sympy,kevalds51/sympy,sahmed95/sympy,sampadsaha5/sympy,jerli/sympy,kaushik94/sympy,ChristinaZografou/sympy,oliverlee/sympy,skidzo/sympy,yukoba/sympy,AunShiLord/sympy,Sumith1896/sympy,emon10005/sympy,beni55/sympy,meghana1995/sympy,sunny94/temp,emon10005/sympy,bukzor/sympy,dqnykamp/sympy,wyom/sympy,jbbskinny/sympy,ga7g08/sympy,chaffra/sympy,Shaswat27/sympy,Sumith1896/sympy,Shaswat27/sympy,atsao72/sympy,postvakje/sympy,hargup/sympy,Shaswat27/sympy,iamutkarshtiwari/sympy,shikil/sympy,Designist/sympy,cccfran/sympy,iamutkarshtiwari/sympy,souravsingh/sympy,Mitchkoens/sympy,toolforger/sympy,ChristinaZografou/sympy,kumarkrishna/sympy,maniteja123/sympy,kaichogami/sympy,yashsharan/sympy,aktech/sympy,kumarkrishna/sympy,oliverlee/sympy,kevalds51/sympy,shikil/sympy,drufat/sympy,sahmed95/sympy,cswiercz/sympy,jbbskinny/sympy,moble/sympy,abhiii5459/sympy,cccfran/sympy,yukoba/sympy,Davidjohnwilson/sympy,debugger22/sympy,hargup/sympy,atreyv/sympy,pandeyadarsh/sympy,kevalds51/sympy,aktech/sympy,Davidjohnwilson/sympy,AunShiLord/sympy,dqnykamp/sympy,atsao72/sympy,Titan-C/sympy,vipulroxx/sympy,farhaanbukhsh/sympy,moble/sympy,saurabhjn76/sympy,ChristinaZografou/sympy,abhiii5459/sympy,meghana1995/sympy,rahuldan/sympy,iamutkarshtiwari/sympy,VaibhavAgarwalVA/sympy,VaibhavAgarwalVA/sympy,skidzo/sympy,jamesblunt/sympy,abhiii5459/sympy,jerli/sympy,garvitr/sympy,ahhda/sympy,Curious72/sympy,farhaanbukhsh/sympy,liangjiaxing/sympy,AunShiLord/sympy,Vishluck/sympy,beni55/sympy,AkademieOlympia/sympy,MridulS/sympy,madan96/sympy,souravsingh/sympy,VaibhavAgarwalVA/sympy,cswiercz/sympy,Titan-C/sympy,beni55/sympy,atsao72/sympy,mcdaniel67/sympy,sunny94/temp,pandeyadarsh/sympy,shipci/sympy,MridulS/sympy,liangjiaxing/sympy,MechCoder/sympy,cswiercz/sympy,wanglongqi/sympy,lindsayad/sympy,emon10005/sympy,liangjiaxing/sympy,moble/sympy,postvakje/sympy,chaffra/sympy,AkademieOlympia/sympy,saurabhjn76/sympy,AkademieOlympia/sympy,sunny94/temp,aktech/sympy,cccfran/sympy,sahilshekhawat/sympy,wanglongqi/sympy,Curious72/sympy,MridulS/sympy,mcdaniel67/sympy,sahilshekhawat/sympy,lindsayad/sympy,jaimahajan1997/sympy,Designist/sympy,Mitchkoens/sympy,Sumith1896/sympy,sampadsaha5/sympy,drufat/sympy,atreyv/sympy,oliverlee/sympy,abloomston/sympy,shipci/sympy,postvakje/sympy,Titan-C/sympy,asm666/sympy,jamesblunt/sympy,souravsingh/sympy,jerli/sympy,Davidjohnwilson/sympy,dqnykamp/sympy,drufat/sympy,ahhda/sympy,Mitchkoens/sympy,bukzor/sympy,kumarkrishna/sympy,Vishluck/sympy,skidzo/sympy,grevutiu-gabriel/sympy,Vishluck/sympy,asm666/sympy,MechCoder/sympy,Arafatk/sympy,maniteja123/sympy,grevutiu-gabriel/sympy,rahuldan/sympy,mafiya69/sympy,sahmed95/sympy,yashsharan/sympy,garvitr/sympy,ga7g08/sympy,saurabhjn76/sympy,Arafatk/sympy,kaichogami/sympy,debugger22/sympy,farhaanbukhsh/sympy,Designist/sympy,atreyv/sympy,kaushik94/sympy,bukzor/sympy,garvitr/sympy,Gadal/sympy,chaffra/sympy,lindsayad/sympy,maniteja123/sympy,pbrady/sympy,Curious72/sympy,hargup/sympy,jaimahajan1997/sympy,skirpichev/omg,sampadsaha5/sympy,jamesblunt/sympy,shipci/sympy,debugger22/sympy,pbrady/sympy,abloomston/sympy,abloomston/sympy,jbbskinny/sympy,shikil/sympy,vipulroxx/sympy,mafiya69/sympy,grevutiu-gabriel/sympy,mcdaniel67/sympy,kaushik94/sympy,meghana1995/sympy,ahhda/sympy,Gadal/sympy