Changed sympy tests, upgraded prettyplotlib and added tests