add notes for deprecated function in v3.4+, get the tests working for python 3