test cases for integer attribute

test cases for integer attribute handling