Generative model testing