add test of djs_median