testGetLabels() in MachineTest passes.