[testing] adding tests that allow to add nested resources_for