migrate canonicalization_test
from integration
#4615
Merged
canonicalization_test
from integration
#4615