I think the reference counting one is suspect, there should be some object that holds the reference, we shouldn't just increment it for no reason.
For the other one, the tests fail here:
Thanks for the info, I'll try to fix the patches as soon as possible.
Unfortunatly my notebook is broken at the moment, so this might take some time :(
stefan