scalatest fix