TestSpec should be class not trait for scalatest