Fix test of integer