Fix a test to test the right thing

See https://github.com/sympy/sympy/pull/1803#issuecomment-13903307.
Merge branch 'master' of github.com:sympy/sympy