* enable lint unnecessary_new * fix tests * fix tests * fix tests
* delay taking screenshot to allow GPU thread to render the frame * address comments