update tests for cairo/jpeg