test code for img sizes property