This may be useful for testing with different renderers:
The above is testing renderers that are launched in a new PApplet!
You should also test behavior in a simple sketch with only setup(), size() and draw().
References on renderers:
:)