add test for comparing image with different sizes, fix typo in comment #30