Code dedup in class ImagesControllerTest

Moved most commonly used values and dictionaries to setUp()

bp nova-tests-code-duplication

Change-Id: I9d573085964d2f62736413ca49391b19f058edb7
Merge "Code dedup in class ImagesControllerTest"