add Tuple tests and implements Tuple.match()  #1