     func testIdentifiableLanguages() {
         let expectation = expectationWithDescription("Identifiable Languages")
         
-          service.getIdentifiableLanguages({(languages:[IdentifiableLanguage]?, error) in
+          service!.getIdentifiableLanguages({(languages:[LanguageTranslation.IdentifiableLanguage]?, error) in
             XCTAssertNotNil(languages,"Expected non-nil array of identifiable languages to be returned")
             XCTAssertGreaterThan(languages!.count,0,"Expected at least 1 identifiable language to be returned")
             expectation.fulfill()


class LanguageTranslationTests: XCTestCase {
    /// Language translation service
    private let service = LanguageTranslation()
    
    /// Timeout for an asynchronous call to return before failing the unit test
    private let timeout: NSTimeInterval = 60.0

        let expectation1 = expectationWithDescription("Missing model")
        let expectation2 = expectationWithDescription("Valid model")
        
        service!.getModel("MISSING_MODEL_ID") { model, error in
            XCTAssertNil(model,"Expected no model to be return for invalid id")
            expectation1.fulfill()
        }
        
        service!.getModel("en-es") { model, error in
            guard let model = model else {
                XCTFail("Expected non-nil model to be returned")
                return
            }
            XCTAssertEqual(model.modelID,"en-es","Expected to get en-es model")
            expectation2.fulfill()
        }
        
        waitForExpectationsWithTimeout(timeout, handler: { error in XCTAssertNil(error, "Timeout") })
    }
