Redmine/6027

Tried to write a test case that uses implicit looping and classesmatching to ensure that all files and directories have the correct type, but it turned into an overly complicated mess of fragile test code. This should suffice for the purpose of this exercise.