No pleas were entered as the South Scotland MSP appeared in private at Dumfries Sheriff Court to face two charges.