         instance.getRankedKeywords(requestType: .Text,
             html: nil,
             url: nil,
-            text: test_get_entities_text_valid) {
+            text: test_text_valid) {
                 
                 (error, keywords) in
                 

    
    var test_url_0 = "http://www.programmableweb.com/news/new-api-billionaire-text-extractor-alchemy/2011/09/16"
    
    var test_get_entities_text_valid = "Vladimir Vladimirovich Putin (/ˈpuːtɪn/; Russian: Влади́мир Влади́мирович Пу́тин; IPA: [vlɐˈdʲimʲɪr vlɐˈdʲimʲɪrəvʲɪtɕ ˈputʲɪn] ( listen), born 7 October 1952) has been the President of Russia since 7 May 2012, succeeding Dmitry Medvedev. Putin previously served as President from 2000 to 2008, and as Prime Minister of Russia from 1999 to 2000 and again from 2008 to 2012. During his last term as Prime Minister, he was also the Chairman of United Russia, the ruling party.\n\nFor 16 years Putin was an officer in the KGB, rising to the rank of Lieutenant Colonel before he retired to enter politics in his native Saint Petersburg in 1991. He moved to Moscow in 1996 and joined President Boris Yeltsin's administration where he rose quickly, becoming Acting President on 31 December 1999 when Yeltsin unexpectedly resigned. Putin won the subsequent 2000 presidential election, despite widespread accusations of vote-rigging,[3] and was reelected in 2004. Because of constitutionally mandated term limits, Putin was ineligible to run for a third consecutive presidential term in 2008. Dmitry Medvedev won the 2008 presidential election and appointed Putin as Prime Minister, beginning a period of so-called \"tandemocracy\".[4] In September 2011, following a change in the law extending the presidential term from four years to six,[5] Putin announced that he would seek a third, non-consecutive term as President in the 2012 presidential election, an announcement which led to large-scale protests in many Russian cities. In March 2012 he won the election, which was criticized for procedural irregularities, and is serving a six-year term.[6][7]\n\nDuring Putin's first premiership and presidency (1999–2008) real incomes in Russia rose by a factor of 2.5, while real wages more than tripled; unemployment and poverty more than halved. Russians' self-assessed life satisfaction also rose significantly.[8] Putin's first presidency was marked by high economic growth: the Russian economy grew for eight straight years, seeing GDP increase by 72% in PPP (as for nominal GDP, 600%).[8][9][10][11][12] This growth was a combined result of the 2000s commodities boom, high oil prices, as well as prudent economic and fiscal policies.[13][14]\n\nAs Russia's president, Putin and the Federal Assembly passed into law a flat income tax of 13%, a reduced profits tax, and new land and legal codes.[15][16] As Prime Minister, Putin oversaw large-scale military and police reform. His energy policy has affirmed Russia's position as an energy superpower.[17][18] Putin supported high-tech industries such as the nuclear and defence industries. A rise in foreign investment[19] contributed to a boom in such sectors as the automotive industry.\n\nMany of Putin's actions are regarded by the domestic opposition and foreign observers as undemocratic.[20] The 2011 Democracy Index stated that Russia was in \"a long process of regression [that] culminated in a move from a hybrid to an authoritarian regime\" in view of Putin's candidacy and flawed parliamentary elections.[21] In 2014, Russia was suspended from the G8 group as a result of its annexation of Crimea.[22][23]"
    
    var test_get_entities_text_invalid = "Hello hello hello hello hello hello!!"
    
    var test_get_text_sentiment_invalid = ""
    

        instance.getSentiment(requestType: .Text,
            html: nil,
            url: nil,
            text: test_text_valid,
            sentimentType: AlchemyLanguageConstants.SentimentType.Targeted,
            sentimentParameters: parameters) {
                
