Added test pin_convert