Amend IsSquare attribute test to accept empty matrix as square