Added jpa mapping for image config and wrote test case for save test