Unit test for strictly triangular matrix JS.