added inheritance test to src/GPIO