applied partial patches from test branch
updated submodules
Add backward compatibility for tests.
added deprecated methods - replace getCanvasWidth/Height with getWidth/Height