Add tests for pretty printing of elliptic integrals (see pr #2164)

This pull request includes PR #2164, for some reason I can't choose raoulb/sympy as a base fork to send PR.