Update canvas_static.js

Adapted test to new render logic