anchor.diff:          |> execute
           |> responseStatusEquals HttpStatusCode.OK
           |> responseBodyIsNull
  +    
  +    [<Theory; AutoMockIntegrationData; Example("put-indices-id-2", "")>]
  +    let ``Trying to update an non existing index will return error`` (server : TestServer, indexName : Guid) = 
  +        server
  +        |> request "PUT" ("/indices/" + indexName.ToString("N"))
  +        |> execute
  +        |> responseStatusEquals HttpStatusCode.BadRequest
  +        |> responseMatches "ErrorCode" "1000"
  +    
  +    [<Theory; AutoMockIntegrationData; Example("delete-indices-id-1", "")>]
  +    let ``Delete an index by id`` (server : TestServer, indexName : Guid) = 
  +        server
  +        |> request "POST" ("/indices/" + indexName.ToString("N"))
  +        |> execute
  +        |> responseStatusEquals HttpStatusCode.OK
  +        |> responseBodyIsNull
           |> ignore
           server
           |> request "DELETE" ("/indices/" + indexName.ToString("N"))
           |> execute
           |> responseStatusEquals HttpStatusCode.OK
           |> responseBodyIsNull
  -        |> ignore
  -    
  -    [<Theory; AutoMockIntegrationData>]
  -    let ``Create index by setting all properties`` (server : TestServer, indexName : Guid) = 
  -        server
  -        |> request "POST" ("/indices/" + indexName.ToString("N"))
  -        |> withBody (JsonConvert.SerializeObject(IntegrationTestHelpers.MockIndexSettings(), jsonSettings))
  -        |> execute
  -        |> responseStatusEquals HttpStatusCode.OK
  -        |> responseBodyIsNull
  -    
  -    [<Theory; AutoMockIntegrationData>]
  +    
  +    [<Theory; AutoMockIntegrationData; Example("delete-indices-id-2", "")>]
  +    let ``Trying to delete an non existing index will return error`` (server : TestServer, indexName : Guid) = 
  +        server
  +        |> request "DELETE" ("/indices/" + indexName.ToString("N"))
  +        |> execute
  +        |> responseStatusEquals HttpStatusCode.BadRequest
  +        |> responseMatches "ErrorCode" "1000"
  +    
  +    [<Theory; AutoMockIntegrationData; Example("get-indices-id-1", "")>]
       let ``Getting an index detail by name`` (server : TestServer, indexName : Guid) = 
           server
           |> request "POST" ("/indices/" + indexName.ToString("N"))
  
positive.code:         |> responseStatusEquals HttpStatusCode.OK
          |> responseMatches "IndexName" (indexName.ToString("N"))
      
      [<Theory; AutoMockIntegrationData>]
      let ``Getting an non existing index will return error`` (server : TestServer, indexName : Guid) = 
          server
          |> request "GET" ("/indices/" + indexName.ToString("N"))
  
negative.code:         |> responseStatusEquals HttpStatusCode.OK
          |> responseBodyIsNull
      
      [<Theory; AutoMockIntegrationData; Example("post-indices-id-4", "")>]
      let ``Create an index with dynamic fields`` (server : TestServer, indexName : Guid) = 
          server
          |> request "POST" ("/indices/" + indexName.ToString("N"))
  