Add test for rpc AbstractHandler