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

1. Abstracted out the container setup from the API tests using widgets in a container.