Added test for image model
Added test suite for the image controller