fixup some issues with converting GObjects to Julia types, including tests