updated test for sparse simulation