produce produce_A_and_B.js and produce test times function