Testing determinant