another file converted to scalatest