Added test case for image type detection

Conflicts:
	changelog.txt