add test case for TwoSum