Testing of whether random number generator can produce exactly zero or exactly one.