I added a testmode object which should help me to moch the gpio in testmode on darwin and rpi2