sizes are defined through an object containing height and width, not through two arguments anymore.
use rows/cols instead of height/width.
add testling support