test_entrymgr.py: Created test to ensure that directories are not removable when
they have children.