Having a proper testing criterion that is unlikely to fail in general it better than relying on a magic random seed.

cc: @jiahao @andreasnoackjensen