My own hacking around reimplementation of scalacheck because reasons.