Added tests for multiple inheritance.