OZP-103: Write RPC API unit tests.

1. Added test for DashboardContainer.getOpenedWidgets to ensure the rpc data is present.