Median tests added

Median tests added