Add accessor macros that allow binding of system types
Fix bug where test functions are registered as macros