Fix download function of the test server

Fix the error 'TypeError: Argument 0 must be an Object at app.get.camera.takePicture.download ...'