Add NonSingularMatrix test