public function testAddDocumentToDatabase()
{
$db = new HTTP\SocketClient();
$response = $db->request('PUT', '/' . $this->getTestDatabase() . '/123', '{"_id":"123","data":"Foo"}');
$this->assertTrue($response instanceof HTTP\Response);
$this->assertSame(true, $response->body['ok']);
}