Rename the rpc mixin and finally add rpc unit tests