add test for preview url