Removed duplicated code in _test_file_owner and _test_dir_owner