use scalatest instead of spec