added frequency argument to the tuple_generator testing function