Added unit tests for determinant