Convert to ScalaTest