Updated unit tests for Bug 295.

These unit tests show how adding a named instance to a child/nested container can bleed into a second container.