specs2 to scalatest
fixed compilation error