Added a test for RPC routes on resource mocks