Merged test_stats.py with Mary.

I added some tests for Median function