Add tests for irpc python bindings.