Median tests

"Test median function"