added tests for deprecated methods