Ported tests for integer