Add test files for td2.scala