Add a minimal unit test for GLCanvas.