test app for median filtering