sparse_disp with bug fix
Tests for dg_mosaic