fix tests failing after scalatest upgrade