Updated GetNodesForLabel.php to pass all existing tests.