I added a test to median function

see the title