Added some simple tests.

Of course Test3 is failing. The resulting matrix appears to be the
adjoint of the matrix rather than the inverse.
Added matrix determinant test