Remove test for deprecated function

Hi,

This pull-request removes test calls to the deprecated functions in the python interpreter.

This should fix travis build.