Tests for single and double nested scopes with single and double nested resources.