ISPN-2814 RpcManager doesn't return values properly

* Added in tests to confirm that a custom command works properly