added test_median_downcapture and PASSED