added tester for int