It seems to me that ```img_test.channels()``` should be checked here