Text this: Deep image generative modeling and statistical testing for industrial anomaly detection