Added mosaic convert and compare for unit testing