unit test IsInTheMatrixTest added