Removed deprecated methods from tests