tests: Add testcase for multiple inheritance.