added test for image controller