add TestSnapshot use framebuffer