Add scalatest and make scala version configurable