getCanvas takes single options object as a parameter now
Updating tests