         dispatch_semaphore_wait(semaphore, DISPATCH_TIME_FOREVER)
     }
 
-    func testTakePictureAndGetImage() {
+    func testTakePictureAndGetImageAndDelete() {
 
         // startSession
         let sessionId = startSession()

                XCTAssert(data != nil && data!.length > 0)
                XCTAssertNotNil(UIImage(data: data!))

                dispatch_semaphore_signal(semaphore)
            }
        }
        self.osc.takePicture(sessionId: sessionId, completionHandler: completionHandler)

        closeSession(sessionId)
    }

    func testListImagesAndGetMetadata() {

        // startSession
        let sessionId = startSession()
