Add JS test for slide rendering.