Add a mock flip generator for unit tests.