More tests for createBuffer/createImage