add testing for pins