Port html tests to scala.