Test that non-admin role can delete and add images to existing image galleries under the imageGalleryTest function. Also added code to delete images after test to ensure later tests using images work properly.