test case passed for int
working for int