load images tests: fix remove() test and commented code