Added tests for images in gadgets
Implemented adding/removing images for gadget