Please use: `np.random.RandomState(42).randint(2, size=(10, 10))` to get reproducible tests.