Merge "Add missing tests for the image v2 API"