Median tests

added test_median1