Add GetInts method and test case