[WIP][DD-833] re-factored/fixed ComponentsResource test