Added possibility to pass a testFilePath leading to an image used as source

Figured out how to use setImage(string path) from metaioSDK.
The reason why it was not working was that it was placed at the wrong
position in the code.