Added tests for SymPy Issue 2014