Adjusted test cases for deprecation notice