modify tm-test