add test code for class Size