Adapted some Directory methods in TestingHelpers

adapted MockFileSystem.AddFile
* it now uses MockFileSystem.AddDirectory

adapted MockDirectory.CreateDirectory
* added vaildation of parameters
* removed recursion

adapted MockDirectory.GetParent
* needed because it did not return the proper values

adapted MockFileSystem.AddDirectory
* because with the other changes it would end in an infinite loop


added/adapted tests for these changes