MeasureAttribute test cases for generator test