more tests pass after sparse -> dense conversion work in progress