sympyprt: removed obsolete test function + fixed test failures
sympyprt: removed unused imports
sympyprt: test for installed mpl