Tests for convert something to integer.