Tests for list-matrix comparisons