Added median tests.