add test case for twosum