fixed backends test script for CanvasBackend changes in previous commit