How to preview a test