Added tests for executeResize and the getImage hook