update test for median filter funcationality