Test code for drawing pins