end changing common sparse matrix test functors to macro-based definitions