Follow-up:

* do not show max size alert for images
* changed slightly the tests