test for integer and integer array