update test code for tmy