tests: Fix image creation with invalid initial layout
1 file changed