tests: basic test for dummytexture
dummytexture: do not change gl state when uploading, change constructor behaviour to be consistent with Texture's.