mock generator for testing