Make IntHistory public
add IntHistory test case