add test suite
add tests for LHR constants
some attempts to achieve callback passing from python to c