test a way to render the preview