Remove depreciation warnings while running tests.
Merge pull request #71 from jmera/depreciation_warnings

Remove depreciation warnings while running tests.