Add test cases for nested mixin handling