testsuite: add test for modification inheritance