snippets for scalatest