test int assertion use type(int())

python3 return class 'int', this will work with python 2 and 3.