Remove compiler warnings.
Test case for the image controller.