Add unit test for QgsMapToPixel (legacy only for now)