some is_resource tests have been missing in #4701
Merge pull request #4827 from owncloud/backport-4719-stable5

some is_resource tests have been missing in #4701