Added deprecation warnings to tests

This is continuation from https://github.com/sympy/sympy/pull/758.

I'm not sure how reports should look like.