OZP-282: Perform code review.
> OZP-61: Migrate RPC API.

1. Fixing failing RPC js test.