added support for images in tests and updated some style