Adding unit test for merging images (see #38)