image controller spec tests