'Server.handle_update supports changing the name.'

def test_server_update_server_name(self):

    return_server = self.fc.servers.list()[1]
    return_server.id = '5678'
    server = self._create_test_server(return_server, 'srv_update')
    new_name = 'new_name'
    update_props = self.server_props.copy()
    update_props['name'] = new_name
    update_template = server.t.freeze(properties=update_props)
    self.patchobject(self.fc.servers, 'get', return_value=return_server)
    self.patchobject(return_server, 'update')
    return_server.update(new_name).AndReturn(None)
    scheduler.TaskRunner(server.update, update_template)()
    self.assertEqual((server.UPDATE, server.COMPLETE), server.state)
