add support for testing unreadable files/dirs