Fixed unit test method

Fixed ClientSideDirectoryAndSmallFilesAddition method
Fixed unit test method

Fixed WriteThenRead method.