add test for cairo/jpeg