Median tests

I hope I'm doing this right