Fix testCreateDirectoryAtURLAlreadyExists under MockServer