extract generative testing code into a new package comfychair