unit tests for dummy-generator and sparse tools