I added tests to the median function!

I added a test
This looks solid, real good job