test create-index when server is bad