add test for server-side rendering