added test for converting sidebar to figure when render is required

closes #69
closes #70