[ref #1] add test images
[fix #2 #1] store config in config.ini and use it.
Added some tests