fixes parts of #68 (input of units broken ...

... in ImageLoaderWorker and probably elsewhere)

* fixes the parameter input for the ImageLoaderWorker
* adds tests