A pull request to add tests for the median function.

I hope you like it.  I worked super hard on these.