Modified the edit Image Method, removed json object from test case class