verify that preview.jpg is actually created