added a couple scalacheck tests