MODULES-133: Error handling test case
[MODULES-167] Return file URLs for directories
[MODULES-168] Fix comparison logic