Fixed Tuple.java for additional unit tests.