Fix 'ls' ownership in TestDirectoryOwnership
Cleanup ownership checks in testing