Add tests for InPlaceGenRowVecGenMat