Changed pin schema definition and some system tests