Added offscreen testing option