Added pin and some test for graphic.