exposing a nice utility for matrix tests