changed test for new addSparse