Added some tests for previews.