Updated test cases for contextual conversion