Less test code for size_attribute