add some tests under livepreview category

Add integration tests for initial connection and related documents.