add go unit test for image meta data