         lookupEnvironment()
         lookupConfiguration()
         lookupCollection()
+        addDocumentToCollection()
     }
     
     /** Instantiate Retrieve and Rank instance. */
     func instantiateDiscovery() {
-        let username = Credentials.DiscoveryUsername
-        let password = Credentials.DiscoveryPassword
+        let username = Credentials.DiscoveryWatsonUsername
+        let password = Credentials.DiscoveryWatsonPassword
         let version = "2016-12-01"
         discovery = Discovery(username: username, password: password, version: version)
     }

    private var discovery: Discovery!
    private let timeout: TimeInterval = 15.0
    private let environmentName: String = "swift-sdk-unit-test-environment"
    private let testDescription: String = "For testing"
    private var environmentID: String?
    private let newsEnvironmentName: String = "Watson News Environment"
    private var newsEnvironmentID: String?

            for collection in collections {
                if collection.name == self.newsCollectionName {
                    self.newsCollectionID = collection.collectionID
                    expectation2.fulfill()
                    return
                }
