switched from scalacheck to scalatest