TST: allow assert_almost_equal to handle pandas instances
Closes #11584.

Because many existing tests expects `assert_almost_equal` to compare `pandas` instances, it looks better to call appropriate test functions rather than raise. 

I've also fixed some failure cases caused by the change (comparing `Series` and `list`, etc).
