use scalaTest for testing