Add change schema test

Apology cause I did not include test for this feature earlier.