Fixed TM tests