tests for int