test improved deallocation in Py3.4