Consolidate test boilerplate
Sparse arithmetic