add test for int