TST: fix too tight tolerance and Python 3.x error in stats.mstats tests.