Better syntax for integration with scalatest