Fix checkSource unit test when WebGL not supported