Added test cases for Tuple2 as KEY