Add missing test for access rights for directory.