TEST: Add checks for subdirectory name splitting.

Previously the tests failed to catch a bug where a ContentsManager
didn't split name from path in a nested subdirectory.