tests: add test verifying writing to mipmap levels!=0