Added test for matrix determinant