Add test-r_dehug example and minor bindings update