added test_median_upcapture and PASSED