UIImage+Render currently uses the old UIGraphicsBeginImageContextWithOptions API before iOS 10, and on iOS 10 it starts to use the new UIGraphicsImageRenderer.
Because of this, when you generate test images under iOS 9, the image metadata will differ from the metadata of test images under iOS 10.
My workaround is to only generate the image using the old API...