Fix bugs, add tests

- Create null success stub the register/unregister functions
- Add python module and test
- Fix some attr array handling
Add EXAMPLE_PATH