tests: Fixed minor issue in testOpSparseLabelArray